﻿

using IotContract.Dtos.Servers.Pushs;
using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IotContract.Models.Process.F29;
/// <summary>
/// 拘束机数据
/// </summary>
[ProtoContract]
public class F29ProcessRestraintData: ProcessBaseData
{
    [ProtoMember(1)]
    public int EquipNum { get; set; }
    [ProtoMember(2)]
    public long EquipId { get; set; }
    
    [ProtoMember(4)]
    public string ProtobufType { get; set; }
    /// <summary>
    /// 作业开始
    /// </summary>
    [ProtoMember(5)]
    public int WorkStart { get; set; }
    /// <summary>
    /// 作业完成
    /// </summary>
    [ProtoMember(6)]
    public int WorkDone { get; set; }

    /// <summary>
    /// 托盘
    /// </summary>
    [ProtoMember(7)]
    public string Tray { get; set; }
    /// <summary>
    /// 托盘到达
    /// </summary>
    [ProtoMember(8)]
    public int TrayArrive { get; set; }
    /// <summary>
    /// 模式 1：自动 0：手动
    /// </summary>
    [ProtoMember(9)]
    public int Mode { get; set; }
    /// <summary>
    /// 错误
    /// </summary>
    [ProtoMember(10)]
    public int Error { get; set; }

    /// <summary>
    /// 状态  1:已写入开始作业   2:已写入完成作业
    /// </summary>
    [ProtoMember(11)]
    public int Status { get; set; }

   
}
